package com.bean.newsBang;

import java.io.File;
import java.io.IOException;

import com.nju.bean.client.preference.C;
import com.nju.bean.ftp.Updater;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;

public class Home extends Activity {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.home);
        new Thread(new Runnable(){

			public void run() {
				// TODO Auto-generated method stub
				try {
					Thread.sleep(1000);
					gotoList();
				} catch (InterruptedException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
			}}).start();
    }
    private void gotoList(){
    	Intent i = new Intent();
    	i.setClass(this, TopicList.class);
    	finish();
    	this.startActivity(i);
    }
}